package com.hyy.api.domain.provider.bo;

import com.hyy.api.domain.provider.ProvProviderChannel;
import com.hyy.common.mybatis.core.domain.BaseEntity;
import com.hyy.common.core.validate.AddGroup;
import com.hyy.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

/**
 * 供应商通道业务对象 prov_provider_channel
 *
 * @author ruoyi
 * @date 2025-05-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ProvProviderChannel.class, reverseConvertGenerate = false)
public class ProvProviderChannelBo extends BaseEntity {

    /**
     * 通道id
     */
    @NotNull(message = "通道id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 供应商id
     */
    private Long providerId;

    /**
     * 通道名称
     */
    private String channelName;

    /**
     * 归属省
     */
    private String provinceCode;

    /**
     * 通道说明
     */
    private String remark;

    /**
     * 运营商
     */
    private String ispCode;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 敏感词
     */
    private String sensitiveWord;

    /**
     * 屏蔽省
     */
    private String hideProvinceName;

    /**
     * 扩展码长度限制
     */
    private Integer extCodeLenLimit;


}
